# -*- coding: utf-8 -*-

from django.contrib import admin
from songs.api.models import *

class SongsHashAdmin(admin.ModelAdmin):
    list_display = ('hash', 'date_added')

class SongsDataAdmin(admin.ModelAdmin):
    list_display = ('song','title', 'author')
    list_filter =  ('song', 'author')

class SongsPartAdmin(admin.ModelAdmin):
    list_display = ('songs', 'chunk')

admin.site.register(SongsHash, SongsHashAdmin)
admin.site.register(SongData, SongsDataAdmin)
admin.site.register(SongsPart, SongsPartAdmin)
